<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" import="java.util.*" %>
<%@ taglib uri="../../WEB-INF/translate.tld" prefix="ego" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<link rel="stylesheet" type="text/css" href="pub/dojo/dojo/resources/dojo.css" />
	<link rel="stylesheet" type="text/css" href="pub/dojo/dijit/themes/tundra/tundra.css" />
	<script type="text/javascript" src="pub/dojo/dojo/dojo.js" djConfig="parseOnLoad: true"></script> 

	<% if (request.getAttribute("firstLogin") != null) { %>
		<script type="text/javascript">
			window.top.location.href='<%= request.getAttribute("gadgeturl") %>';
		</script>
	<% } else { %>
		<script type="text/javascript" src="modules/sidebar/script.js"></script>
	<% } %>
	<style type="text/css">
	a,a:visited,a:active {
		color: #1126c2;
	}
	a:hover {
		color: #3146ff;
		text-decoration:none;
	}
	</style>
</head>
<body class="tundra">
<center>
	<img src="pub/img/login-loading.gif" id="img" />
	
	<div id="form" style="visibility:hidden">
		<img src="modules/sidebar/img/reload.png" onclick="document.location.reload()" style="cursor:pointer;position:absolute;right:0px" alt="<ego:t>Refresh</ego:t>" title="<ego:t>Refresh</ego:t>" />
		<br/>
		
		<div id="menu"><ego:t>Loading</ego:t>
		</div>
		
		<% if (request.getAttribute("days") != null) { %>
		<div style="position:absolute;bottom:1px;left:0;text-align:center">
			<img src="modules/sidebar/img/question.gif" align="middle" /> <%= request.getAttribute("days") %> <ego:t>day(s) to</ego:t> <a href="html?mdl=account_move" onclick="window.open(this.href, 'etApps_activate', 'width=600,height=400');return false;"><ego:t>activate</ego:t></a>.
		</div>
		<% } %>
	</div>
</center>
</body>
</html>
